﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DomainNameServer.Models;


namespace DSVISUAL
{
    [Serializable]
    public class AppData
    {
        public AppData()
        {
            DomainList = new List<DomainInfo>();
        }

        public int RecordsLimit { get; set; }
        public bool ARecordsOnly { get; set; }
        public bool AutoScrollQueries { get; set; }
        public int DNS1 { get; set; }
        public int DNS2 { get; set; }
        public List<DomainInfo> DomainList { get; set; }
        public bool PublicDnsCacheEnabled { get; set; }
        public int QueryMode { get; set; }
        public DnsRestoreBehavior RestoreBehavior { get; set; }
    }

    public enum DnsRestoreBehavior
    {
        Default,
        Public,
        DHCP
    }
}
